package com.example.demo.service;

import com.example.demo.entity.Course;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CourseService {
    List<Course> queryAllCourse();

    Course queryCourseById(@Param("id") int id);
}
